﻿using System;
using System.Collections;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Net;

namespace TestWeb
{
    /// <summary>
    /// $codebehindclassname$ 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class Handler1 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            //context.Response.Write(RewriteUri.getInstance().rewrite(""));
            //Cookie cookie = new Cookie();
            string temp = null;

            temp = context.Request.Url.AbsolutePath;
            temp = context.Request.Url.Host;
            string[] temps = context.Request.Url.Segments;
            temp = context.Request.Url.OriginalString;
            temp = context.Request.Url.AbsoluteUri;
        }


        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
